import Dao.OrderDaoImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AppForinstanceOrder {
    public static void main(String[] args) {
        ApplicationContext ctx=new ClassPathXmlApplicationContext("application.xml");
        OrderDaoImpl orderDao = ctx.getBean("orderDao", OrderDaoImpl.class);
        orderDao.save();
    }
}
